using System.Collections.Generic;

namespace B.S.Data.MES.API.Applications.ShenPi.Models
{
    public class NodeProperties
    {
        public string start { get; set; }
        public string CustomRect { get; set; }
        public string PropValue { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class NodeText
    {
        public double x { get; set; }
        public double y { get; set; }
        public string value { get; set; }
    }

    public class ProcessFlowNode
    {
        public string id { get; set; }
        public string type { get; set; }
        public double x { get; set; }
        public double y { get; set; }
        public NodeProperties properties { get; set; }
        public NodeText text { get; set; }
    }

    public class FlowChartModel
    {
        public List<ProcessFlowNode> nodes { get; set; }
        // 可以根据实际情况添加edges等其他字段
    }
}